package com.example.loganalysis.entity;

public class TerminalSession {
    private int id; // 主键
    private String log_type;
    private String date_start; // 对应 datetime
    private String user;
    private String remote_addr;
    private String asset;
    private String is_success;
    private String ipfs_hash;
    private String log_id;

    public int getId() {return id;}
    public void setId(int id) {this.id = id;}
    public String getDate_start() {return date_start;}
    public void setDate_start(String date_start) {this.date_start = date_start;}
    public String getUser() {return user;}
    public void setUser(String user) {this.user = user;}
    public String getRemoteAddr() {return remote_addr;}
    public void setRemoteAddr(String remote_addr) {this.remote_addr = remote_addr;}
    public String getAsset() {return asset;}
    public void setAsset(String asset) {this.asset = asset;}
    public String getIs_success() {return is_success;}
    public void setIs_success(String is_success) {this.is_success = is_success;}
    public String getIpfsHash() {return ipfs_hash;}
    public void setIpfsHash(String ipfs_hash) {this.ipfs_hash = ipfs_hash;}
    public void setLog_type(String log_type) {this.log_type = log_type;}
    public String getLog_type() {return log_type;}
    public String getLog_id() {return log_id;}
    public void setLog_id(String log_id) {this.log_id = log_id;}
    // Getters and Setters

    @Override
    public String toString() {
        return "TerminalSessions{" +
                "date_start='" + date_start + '\'' +
                ", user='" + user + '\'' +
                ", remote_addr='" + remote_addr + '\'' +
                ", asset='" + asset + '\'' +
                ", is_success='" + is_success + '\'' +
                ", log_type='" + log_type + '\'' +
                ", ipfs_hash='" + ipfs_hash + '\'' +
                '}';
    }

}
